package com.bd.scm.domain.models.accessTemp;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mason
 * @since 2019-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mj_right_temp")
public class MjRightTemp extends Model<MjRightTemp> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "xh", type = IdType.AUTO)
    private Integer xh;
    @TableField("user_serial")
    private Long userSerial;
    @TableField("gate_bh")
    private String gateBh;
    private Integer fx;
    private Date kssj;
    private Date jssj;
    @TableField("ks_sj")
    private String ksSj;
    @TableField("js_sj")
    private String jsSj;
    private Date sj;
    @TableField("gly_no")
    private String glyNo;


    @Override
    protected Serializable pkVal() {
        return this.xh;
    }

}
